﻿/// <summary>
/// Ynote Host
/// </summary>
public interface IYnoteHost  {
    /// <summary>
    /// Open File
    /// </summary>
    /// <param name="file"></param>
    /// <param name="codepage"></param>
    void OpenFile(string file, int codepage);
    /// <summary>
    /// Save File
    /// </summary>
    void Save();
    /// <summary>
    /// Gets Active Editor
    /// </summary>
    SS.Ynote.Classic.Editor ActiveEditor { get; }
    /// <summary>
    /// Gets the DockPanel
    /// </summary>
    WeifenLuo.WinFormsUI.Docking.DockPanel Panel { get; }
    /// <summary>
    /// Gets the Ynote Syntax Highlighter
    /// </summary>
    SS.Ynote.Classic.SyntaxHighlighter SyntaxHighlighter { get; }
}